use "Table6data.dta" 
ssc install outreg2

******************************Generate Table 6****************
*****************************Column 1 Placebo Crop********************************************

xtreg log_grass_prop log_budgetmwheat log_budgetmcotton log_budgetmcorn log_budgetmoat i.state_fips#c.year , fe

outreg2 using DID4Placebo.tex,replace ctitle(Crop) keep(log_budgetmwheat log_budgetmcotton log_budgetmcorn log_budgetmoat) addtext(County FE, Yes, State*Year Trend, Yes ) label title("Table 2: Placebo Crops of Farmland Conservation on Total Grassland"\label{tab1})

**************Column 2 Placebo Year******************

xtreg log_grass_prop c.wheat_prop#i0.treat_year c.corn_prop#i0.treat_year c.cotton_prop#i0.treat_year i.state_fips#c.year , fe

outreg2 using DID4Placebo.tex,append ctitle(Year) keep(c.wheat_prop#i0.treat_year c.corn_prop#i0.treat_year c.cotton_prop#i0.treat_year) addtext(County FE, Yes, State*Year Trend, Yes ) label title("Table 2: Placebo Years of Farmland Conservation on Total Grassland"\label{tab1})